package com.timoon.component.behavior.toastmessage;

import org.apache.wicket.request.resource.CssResourceReference;
import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.JQueryBehavior;
import com.googlecode.wicket.jquery.ui.Options;

public class AbstractToastmessageBehavior extends JQueryBehavior {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2615798990840646421L;

	public AbstractToastmessageBehavior(String selector, String method,
			Options options) {
		super(selector, method, options);
		// TODO Auto-generated constructor stub
		
		this.add(new JavaScriptResourceReference(AbstractToastmessageBehavior.class, "resources/jquery.toastmessage.js"));
		this.add(new JavaScriptResourceReference(AbstractToastmessageBehavior.class, "resources/toastmessage.js"));
		this.add(new CssResourceReference(AbstractToastmessageBehavior.class, "resources/css/jquery.toastmessage.css"));
	}

}
